#include <cstdio>
using namespace std;
void change (int &x, int &y) {
	int t;
	t = x;
	x = y;
	y = t;
}
int main() {
	int a, b;
	scanf ("%d%d", &a, &b);
	change (a, b);
	printf ("%d %d", a, b);
	return 0;
}
